package org.hegang.design.first.builderpattern;

/**
 * @Classname: Leader
 * @Description:
 * @Date: 2021/4/21 0:36
 * @Author: gang.he
 * @Email: SmileSkyLife@outlook.com
 * @LastModified:
 * @Version: v1.0.0
 */
public class Leader {
    public BedRoom Build(Builder builder){
        return builder.BuildA().BuildD().BuildC().BuildB().getBedRoom();
    }
}
